//
// Created by imed on 2024/4/1.
//

#include <iostream>
#include "IntervalConvert.h"

int main(){
    std::string modulePath = "C:\\Users\\imed\\Desktop\\程序打包\\IntervalConvertMainV003";
    std::string fromPath = "C:\\Users\\imed\\Desktop\\sampleData\\明星数据";
    std::string toPath = "C:\\Users\\imed\\Desktop\\sampleData\\明星转换";
    int pid = ThirdExtendIntervalConvert::initModule(modulePath, fromPath, toPath, true);
    Sleep(5000); // windows.h的sleep, ms
    bool res = ThirdExtendIntervalConvert::destoryModule(pid);
    std::cout << res << std::endl;
}